﻿@{
    ViewData["Title"] = "Home Page";
    
}

<div class="text-center">
    <h1 class="display-4">Welcome</h1>
    <p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
    <h3>@ViewBag.testString</h3>

    @*<table class="table">
        <thead>
            <tr>
                <th>
                    ID
                </th>
                <th>
                    StudentName
                </th>
                <th>
                    StudentAge
                </th>
                
              
            </tr>
        </thead>
        <tbody>
            @foreach (var item in @ViewBag.students)
            {
                <tr>
                    <td>
                        @(item.ID)
                    </td>
                    <td>
                        @item.StudentName
                    </td>
                    <td>
                        @item.StudentAge
                    </td>
                   
                </tr>
            }
        </tbody>
    </table>*@
</div>
